home *** CD-ROM | disk | FTP | other *** search
/ Sounds Terrific 1 / Sounds Terrific CD (1994)(Weird Science)(Disc 2 of 2)[!][Amiga-PC].iso / modules / t / timechat.mod < prev    next >
Encoding:
Text File  |  1994-08-04  |  1.8 KB  |  58 lines

  1. 3* 1TIMECHAT.MOD - Shows what time chat starts/ends...
  2. Pillsbury Dough Boy #1 @7652 1[3Lancaster, NY1]
  3. 1Saturday, 5December 7, 11991  7at 311:56 pm 7<EST>
  4.  
  5. TIMECHAT.MOD - Show's what time a user enters and quits chat.
  6.  
  7. by Pillsbury Dough Boy 1@7652, 1@17650.
  8.  
  9. Under a suggestion by SandMan 1@850 - thanks!
  10.  
  11.  
  12. CONIO.C - void skey.
  13.  
  14.  
  15.         case 68: /* F10 */
  16.           if (chatting==0) {
  17.             page_reqs=0;
  18.             nosound();
  19.             sprintf(s,"Chat started at %s",times()); /* ADD
  20.             sysoplog(s);                                ME  */
  21.             if (syscfg.sysconfig & sysconfig_2_way)
  22.               chat1("",1);
  23.             else
  24.               chat1("",0);
  25.           } else
  26.             sprintf(s,"Chat ended at %s",times());   /* ADD
  27.             sysoplog(s);                                ME */
  28.             chatting=0;
  29.           break;
  30.  
  31. And now for ctrl-f10.
  32.  
  33.  
  34.     case 103: /* Ctrl-F10 */
  35.           if (chatting==0) {
  36.             page_reqs=0;
  37.             nosound();
  38.             sprintf(s,"Chat started at %s",times());    /* ADD
  39.             sysoplog(s);                                   ME */
  40.             chat1("",0);
  41.           } else
  42.             sprintf(s,"Chat ended at %s",times());      /* ADD
  43.             sysoplog(s);                                   ME */
  44.             chatting=0;
  45.           break;
  46.       }
  47.  
  48. Okey.  That's it.  BTW - I am writing this online, pretty much from
  49. memory.. there may be some code that isn't in here, or that is in here.
  50.  
  51. Also, it might be time() instead of times(), but I believe it's times().
  52. (Babbling).
  53.  
  54. 2-=5< 1P3illsbury 1D3ough 1B3oy 5>2=-0
  55. 7SysOp: @7652 [Net] & @17650 [Link]0
  56. 1Member: NYBBS (#101501) & 4[DSS]0
  57.  
  58.  6*> 7The BoardWalk [DSS] 2■ 5@7652/@17650 2■ 4716-684-79392 ■ 3WWIV Support Board 6<*